package com.example.ymm.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * 用户登录参数
 * Created on 2018/4/26.
 */
@Getter
@Setter
public class UserParam {
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    @ApiModelProperty(value = "权限:admin")
    private String role;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "1 自能看自己录的 2 看所有")
    private Integer permission;


}
